Package com.cisco.pt.ipc.sim.impl
Class EIGRPProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.RoutingProtocolImpl
com.cisco.pt.ipc.sim.impl.EIGRPProcessImpl
- All Implemented Interfaces:
IPCObject,EIGRPProcess,Process,RoutingProtocol
Information provided by the PKI file:
\class EigrpProcess
\brief EigrpProcess is the process that handles the individual EIGRP AS process.
\example network().getDevice("Router0").getProcess("EigrpMainProcess").getEigrpProcess(100)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionEIGRPProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfiguredNetwork(IPAddress ipAddress, IPAddress mask) Information provided by the PKI file:booleanaddSummaryAddress(String portName, IPAddress ipAddress, IPAddress subnet, int adminDistance) Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:Information provided by the PKI file:getSummaryAddressAt(String portName, int as, int index) Information provided by the PKI file:intgetSummaryAddressCount(String portName) Information provided by the PKI file:Information provided by the PKI file:intInformation provided by the PKI file:booleanisPassiveInt(String portName) Information provided by the PKI file:voidremoveConfiguredNetwork(IPAddress ipAddress, IPAddress mask) Information provided by the PKI file:booleanremoveSummaryAddress(String portName, IPAddress ipAddress, IPAddress subnet, int adminDistance) Information provided by the PKI file:voidsetAutoSummary(boolean bAutoSum) Information provided by the PKI file:voidsetDefaultPassiveInt(boolean bEnable) Information provided by the PKI file:voidsetExtAdminDistance(int adminDistance) Information provided by the PKI file:voidsetIntAdminDistance(int adminDistance) Information provided by the PKI file:voidsetKs(int k1, int k2, int k3, int k4, int k5) Information provided by the PKI file:voidsetPassiveInt(String portName, boolean bPassive) Information provided by the PKI file:voidsetVariance(int variance) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.RoutingProtocolImpl
getAdminDistance, setAdminDistanceMethods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDeviceMethods inherited from interface com.cisco.pt.ipc.sim.RoutingProtocol
getAdminDistance, setAdminDistance
-
Constructor Details
-
EIGRPProcessImpl
public EIGRPProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getASNumber
public int getASNumber()Information provided by the PKI file:
\brief Returns the AS number of this EIGRP process. \return int, the AS number of this EIGRP process.- Specified by:
getASNumberin interfaceEIGRPProcess- Returns:
- int Returns a int
-
setKs
public void setKs(int k1, int k2, int k3, int k4, int k5) Information provided by the PKI file:
\brief Sets the K-values to the specified values. \param k1, the K1 value. \param k2, the K2 value. \param k3, the K3 value. \param k4, the K4 value. \param k5, the K5 value.- Specified by:
setKsin interfaceEIGRPProcess- Parameters:
k1- Takes in a parameter of k1k2- Takes in a parameter of k2k3- Takes in a parameter of k3k4- Takes in a parameter of k4k5- Takes in a parameter of k5
-
setVariance
public void setVariance(int variance) Information provided by the PKI file:
\brief Sets the variance to the specified value. \param variance, the variance value.- Specified by:
setVariancein interfaceEIGRPProcess- Parameters:
variance- Takes in a parameter of variance
-
getVariance
public int getVariance()Information provided by the PKI file:
\brief Returns the variance of this EIGRP process. \return int, the variance of this EIGRP process.- Specified by:
getVariancein interfaceEIGRPProcess- Returns:
- int Returns a int
-
setAutoSummary
public void setAutoSummary(boolean bAutoSum) Information provided by the PKI file:
\brief Enables or disables auto summary on this EIGRP process. \param bAutoSum, true to enable auto summary, false to disable it.- Specified by:
setAutoSummaryin interfaceEIGRPProcess- Parameters:
bAutoSum- Takes in a parameter of bAutoSum
-
getAutoSummary
public boolean getAutoSummary()Information provided by the PKI file:
\brief Returns true if auto summary is enabled on this EIGRP process, otherwise false. \return bool, true if auto summary is enabled on this EIGRP process, otherwise false.- Specified by:
getAutoSummaryin interfaceEIGRPProcess- Returns:
- boolean Returns a boolean
-
setDefaultPassiveInt
public void setDefaultPassiveInt(boolean bEnable) Information provided by the PKI file:
\brief Enables or disables default passive interface on this EIGRP process. \param bEnable, true to enable default passive interface on this EIGRP process, false to disable it.- Specified by:
setDefaultPassiveIntin interfaceEIGRPProcess- Parameters:
bEnable- Takes in a parameter of bEnable
-
getDefaultPassiveInt
public boolean getDefaultPassiveInt()Information provided by the PKI file:
\brief Returns true if default passive interface is enabled on this EIGRP process, otherwise false. \return bool, true if default passive interface is enabled on this EIGRP process, otherwise false.- Specified by:
getDefaultPassiveIntin interfaceEIGRPProcess- Returns:
- boolean Returns a boolean
-
setPassiveInt
Information provided by the PKI file:
\brief Enables or disables passive interface on the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param bPassive, true to enable passive interface, false to disable it.- Specified by:
setPassiveIntin interfaceEIGRPProcess- Parameters:
portName- Takes in a parameter of portNamebPassive- Takes in a parameter of bPassive
-
isPassiveInt
Information provided by the PKI file:
\brief Returns true if passive interface is enabled on the specified port, otherwise false. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if passive interface is enabled on the specified port, otherwise false.- Specified by:
isPassiveIntin interfaceEIGRPProcess- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
setIntAdminDistance
public void setIntAdminDistance(int adminDistance) Information provided by the PKI file:
\brief Sets the internal administrative distance on this EIGRP process. \param adminDistance, the internal administrative distance.- Specified by:
setIntAdminDistancein interfaceEIGRPProcess- Parameters:
adminDistance- Takes in a parameter of adminDistance
-
setExtAdminDistance
public void setExtAdminDistance(int adminDistance) Information provided by the PKI file:
\brief Sets the external administrative distance on this EIGRP process. \param adminDistance, the external administrative distance.- Specified by:
setExtAdminDistancein interfaceEIGRPProcess- Parameters:
adminDistance- Takes in a parameter of adminDistance
-
addConfiguredNetwork
Information provided by the PKI file:
\brief Adds the network with the specified network address and mask to this EIGRP process. \param ipAddress, the network address. \param mask, the network mask.- Specified by:
addConfiguredNetworkin interfaceEIGRPProcess- Parameters:
ipAddress- Takes in a parameter of ipAddressmask- Takes in a parameter of mask
-
removeConfiguredNetwork
Information provided by the PKI file:
\brief Removes the network with the specified network address and mask from this EIGRP process. \param ipAddress, the network address of interest. \param mask, the network mask of interest.- Specified by:
removeConfiguredNetworkin interfaceEIGRPProcess- Parameters:
ipAddress- Takes in a parameter of ipAddressmask- Takes in a parameter of mask
-
getConfiguredNetworkCount
public int getConfiguredNetworkCount()Information provided by the PKI file:
\brief Returns the number of networks in this EIGRP process. \return int, the number of networks in this EIGRP process.- Specified by:
getConfiguredNetworkCountin interfaceEIGRPProcess- Returns:
- int Returns a int
-
addSummaryAddress
public boolean addSummaryAddress(String portName, IPAddress ipAddress, IPAddress subnet, int adminDistance) Information provided by the PKI file:
\brief Adds a summary aggregate address to the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param ipAddress, the summary IP address. \param subnet, the summary subnet mask. \param adminDistance, the administrative distance. \return bool, true if successful, otherwise false.- Specified by:
addSummaryAddressin interfaceEIGRPProcess- Parameters:
portName- Takes in a parameter of portNameipAddress- Takes in a parameter of ipAddresssubnet- Takes in a parameter of subnetadminDistance- Takes in a parameter of adminDistance- Returns:
- boolean Returns a boolean
-
removeSummaryAddress
public boolean removeSummaryAddress(String portName, IPAddress ipAddress, IPAddress subnet, int adminDistance) Information provided by the PKI file:
\brief Removes a summary aggregate address to the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param ipAddress, the summary IP address. \param subnet, the summary subnet mask. \param adminDistance, the administrative distance. \return bool, true if successful, otherwise false.- Specified by:
removeSummaryAddressin interfaceEIGRPProcess- Parameters:
portName- Takes in a parameter of portNameipAddress- Takes in a parameter of ipAddresssubnet- Takes in a parameter of subnetadminDistance- Takes in a parameter of adminDistance- Returns:
- boolean Returns a boolean
-
getSummaryAddressCount
Information provided by the PKI file:
\brief Returns the number of summary aggregate addresses on the specified port. \param portName portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return int, the number of summary aggregate addresses on the specified port.- Specified by:
getSummaryAddressCountin interfaceEIGRPProcess- Parameters:
portName- Takes in a parameter of portName- Returns:
- int Returns a int
-
getSummaryAddressAt
Information provided by the PKI file:
\brief Returns the summary aggregate address on the specified port, AS number, and index. \param portName portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \param as, the autonomous system of the summary aggregate address of interest. \param index, the index of the summary aggregate address of interest. \return EigrpSummaryAddress, the EigrpSummaryAddress object on the specified port, AS number, and index.- Specified by:
getSummaryAddressAtin interfaceEIGRPProcess- Parameters:
portName- Takes in a parameter of portNameas- Takes in a parameter of asindex- Takes in a parameter of index- Returns:
- EIGRPSummaryAddress Returns a EIGRPSummaryAddress
-
getTopologyTable
Information provided by the PKI file:
\brief Returns the topology table of this EIGRP process. \return EigrpTopologyTable, the EigrpTopologyTable object of this EIGRP process.- Specified by:
getTopologyTablein interfaceEIGRPProcess- Returns:
- EIGRPTopologyTable Returns a EIGRPTopologyTable
-
getNeighborTable
Information provided by the PKI file:
\brief Returns the neighbor table of this EIGRP process. \return EigrpNeighborTable, the EigrpNeighborTable object of this EIGRP process.- Specified by:
getNeighborTablein interfaceEIGRPProcess- Returns:
- EIGRPNeighborTable Returns a EIGRPNeighborTable
-